package cc.linker.steplink.crm.merchanth5.pojo;


import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class SignRewardLogPo {

    //ID
    private Integer id;

    //奖励类型，1：日常签到奖励，2：连续签到奖励
    private Integer rewardType;

    //用户id
    private String customerId;

    //奖励详情，当奖励存在多个用“，”分隔
    private String rewardDetail;

    //机构id
    private String orgId;

    //发放时间
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime = new Date();
}
